
using TomShane.Neoforce.Controls;
using Microsoft.Xna.Framework;
namespace NOWAOnline.Scenes.LoginScene
{
sealed class ServerItem : Window
{
public Label ID;
    public string IP;
    public int Port;
public Label NameServer;
public Label Status;
public Color DefColor;
public ServerItem(Manager manager)
 : base(manager)
{
ID = new Label(manager);
this.ID.Text = "ID";
ID.Init();
ID.Left = 4;
ID.Top = 4;
ID.Width = 40;
ID.Height = 13;

ID.Parent = this;

NameServer = new Label(manager);
NameServer.Init();
NameServer.Left = 50;
NameServer.Top = 4;
NameServer.Width = 200;
NameServer.Height = 13;
NameServer.Parent = this;
NameServer.BackColor = Color.Wheat;
NameServer.Color = Color.Wheat;
Status = new Label(manager);
this.Status.Text = "Status";
Status.Init();
Status.Left = 256;
Status.Top = 4;
Status.Width = 100;
Status.Height = 13;
Status.Parent = this;
this.Width = 387;
this.Height = 13;
this.ClientHeight = 13;
this.ClientArea.Resizable = false;
this.ClientArea.Width = 387;
this.ClientArea.Height = 14;
this.SetSize(387, 20);
this.CaptionVisible = false;
this.BorderVisible = false;
this.Resizable = false;
this.AutoScroll = false;

DefColor = this.ClientArea.BackColor;
}
public void setColor(Color col)
{
    this.ClientArea.BackColor = col;
    //Name.BackColor = col;
    //Status.BackColor = col;
    //ID.BackColor = col;
    //Name.Color = col;
    //Status.Color = col;
    //ID.Color = col;
    
}
}
}
